package com.hk.yajin.model;

import com.hk.developmentlib.utills.FastjsonUtils;

import org.xutils.db.annotation.Column;
import org.xutils.db.annotation.Table;

import java.util.List;

/**
 * 作者：wl on 2017/6/26 12:48
 * 邮箱：wangl@ixinyongjia.com
 */
@Table(name = "Message")
public class Message {

    @Column(name = "id", isId = true, autoGen = false)
    private int mail_id;
    @Column(name = "mail_level")
    private int mail_level;
    @Column(name = "title")
    private String title;
    @Column(name = "content")
    private String content;
    @Column(name = "like_count")
    private int like_count;
    @Column(name = "create_time")
    private int create_time;
    @Column(name = "mail_level_name")
    private String mail_level_name;
    @Column(name = "color")
    private String color;
    @Column(name = "like")
    private int like;
    @Column(name = "log_id")
    private int log_id;
    @Column(name = "attach_json")
    private String attach_json;
    @Column(name = "user_id")
    private int user_id;

    public int getUser_id() {
        return user_id;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }

    private List<Attach> mail_attachs;

    public int getLog_id() {
        return log_id;
    }

    public void setLog_id(int log_id) {
        this.log_id = log_id;
    }

    public String getAttach_json() {
        return attach_json;
    }

    public void setAttach_json(String attach_json) {
        this.attach_json = attach_json;
    }

    public List<Attach> getMail_attachs() {
        return mail_attachs;
    }

    public void setMail_attachs(List<Attach> mail_attachs) {
        this.mail_attachs = mail_attachs;
    }

    public int getMail_id() {
        return mail_id;
    }

    public void setMail_id(int mail_id) {
        this.mail_id = mail_id;
    }

    public int getMail_level() {
        return mail_level;
    }

    public void setMail_level(int mail_level) {
        this.mail_level = mail_level;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getLike_count() {
        return like_count;
    }

    public void setLike_count(int like_count) {
        this.like_count = like_count;
    }

    public int getCreate_time() {
        return create_time;
    }

    public void setCreate_time(int create_time) {
        this.create_time = create_time;
    }

    public String getMail_level_name() {
        return mail_level_name;
    }

    public void setMail_level_name(String mail_level_name) {
        this.mail_level_name = mail_level_name;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public int getLike() {
        return like;
    }

    public void setLike(int like) {
        this.like = like;
    }


}
